import ajax from '@/utils/ajax';

export default {
  // 导出项目列表
  exportSaleProjectExcel(data) {
    return ajax({
      url: '/sale/exportSaleProjectExcel',
      method: 'get',
      data
    })
  },
  // 导出项目评分
  exportEvaluationExcel(data) {
    return ajax({
      url: '/sale/exportEvaluationExcel',
      method: 'get',
      data
    })
  },
  // 项目评分列表
  getEvaluationList(data) {
    return ajax({
      url: '/sale/getEvaluationList',
      method: 'get',
      data
    })
  },
  // 项目列表
  saleProjectList(data) {
    return ajax({
      url: '/sale/saleProjectList',
      method: 'get',
      data
    })
  },
  // 项目详情
  saleProjectDetails(data) {
    return ajax({
      url: '/sale/saleProjectDetails',
      method: 'get',
      data
    })
  },
  // 对客日志列表
  saleCustomerLogList(data) {
    return ajax({
      url: '/sale/saleCustomerLogList',
      method: 'get',
      data
    })
  },
  // 导出对客日志
  exportCustomerLogExcel(data) {
    return ajax({
      url: '/sale/exportCustomerLogExcel',
      method: 'get',
      data
    })
  },
  // 对客日志详情
  saleCustomerLogDetails(data) {
    return ajax({
      url: '/sale/saleCustomerLogDetails',
      method: 'get',
      data
    })
  },
  // 更新售后截止日期
  updWarrantyDate(data) {
    return ajax({
      url: '/sale/updWarrantyDate',
      method: 'get',
      data
    })
  },
}